<template>
  <div><button @click="test">测试</button></div>
</template>


<script>
import request from "@/utils/request";
export default {
  methods: {
    test() {
      return request({
        url: "ruoyi-myuser/user/hello",
        methods: "get",
        params: "",
      }).then((resp) => {
        console.log(resp);
      });
      // this.axios.get("/api/ruoyi-myuser/user/hello").then((resp) => {
      //   console.log(resp.data);
      // });
    },
  },
};
</script>

<style>
</style>